package com.zhuang.chapter05.work02;

public class Manager extends Employee {
	private String job;

	@Override
	public double getSalary() {
		return super.getSalary() + 30000.0;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	@Override
	public void show() {
		System.out.println("员工编号：" + super.getId() + "," + "姓名：" + super.getName() + "," + "职务：" + this.getJob() + ","
				+ "年薪：" + this.getSalary());
	}
}
